<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>文本框之按钮 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2 title="TextBox with Button">文本框之按钮</h2>
	<p title="The button can be attached to a textbox.">　　按钮可被附加到文本框上。</p>
	<div style="margin:10px 0 20px 0;"></div>
	<div class="easyui-panel" style="width:100%;max-width:400px;padding:20px 20px;">
		<div style="margin-bottom:10px">
			<input class="easyui-textbox" data-options="buttonText:'搜索',prompt:'关键词...'" style="width:100%;height:32px;">
		</div>
		<div style="margin-bottom:10px">
			<input class="easyui-textbox" data-options="buttonText:'搜',buttonAlign:'left',buttonIcon:'icon-search',prompt:'请输入查询条件...'" style="width:100%;height:32px;">
		</div>
	</div>
</body>
</html>